<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
/*  $form = ActiveForm::begin([
      'method'=>'get',
  ]); */



?>
<form>
<ul class="topselect"><?php


    $attr=$context->getselectAttr();

    //print_r($attr);exit;
    foreach ($attr as $key=>$vo){
        $vo['default']=  isset($vo['default'])?$vo['default']:'';

        ?><li>
        <span class="labT"><?= $vo['title'] ?></span><div class="input">
            <?php
            echo  \App\admin\TableView\BaseClass\BaseViewList::htmlinput($vo['inputtype'],
                isset($_GET[$key])?$_GET[$key]:$vo['default'],
                $key,
                isset($vo['items'])?$vo['items']:[]
            );
            ?></div>
        </li>

        <?php
    }
    ?></ul>
<input name="submit" value="true" type="hidden"/>
<?php

echo  \App\Jobs\Yii\Html::submitButton('提交');
echo '</form>';
?>
